package net.takela.common.spring.exception;

import net.takela.common.spring.http.StatusCode;

/**
 * @author baboy
 * create at 2023/1/22
 */
public class ParamException extends StatusCodeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -613749799428461420L;
    /**
     * 
     */
	public ParamException(String msgKey, Object...args) {
		super(StatusCode.PARAM_ERROR.getCode(),msgKey, args);
	}
    /**
     * 
     */
	public ParamException(){
		super(StatusCode.PARAM_ERROR.getCode());
	}
}
